package top.songxs.gmall.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import top.songxs.gmall.common.anno.EnableFeignClientInterceptor;
import top.songxs.gmall.common.anno.EnableGlobalExceptionHandler;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = "top.songxs.gmall.feign")
@EnableGlobalExceptionHandler
@EnableFeignClientInterceptor
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }
}
